home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1998 January / Macworld (1998-01).dmg / Serious Demos / Visual MacStandardBasic Demo / Visual MSB Reference / Visual MSB Reference.rsrc / PICT_30.png < prev    next >
Portable Network Graphic  |  1997-10-23  |  110KB  |  816x1056  |  16-bit (492 colors)
Labels: book | monitor | poster | reckoner | sky | waterfall
OCR: menu This should be numeric expression that contains value that is used to designate menu to add the item text$ This a string expr ession designating the menu title Use you want to ppe separator bar item. cmaL etter$ This is a string expression whose first letter will be used as command key equivalent for the menu item Use an empty string designate that there is no command key equivalent. Sub This IS reference to the SUB proc edure that will be called when thimenu item selected UseNONE instead of a Sub procedurename to indicate no action should be performed Example: Let's create some simple menus MenuApple MenuAddIt ter "About Program" AboutMyProgram MenuDesk Append on the rest Apple Menu stuff MenuAdd "File" None MenuAddI tem "O OpenMyFile MenuAddI tem None Adds separator line MenuAddI te ...